package com.owc.common.sdk.request;

import com.owc.common.sdk.response.EthTransferResponse;
import lombok.Data;
import org.apache.http.entity.ContentType;

/**
 * @Author xiaom
 * @Date 2019/12/17 10:38
 * @Version 1.0.0
 * @Description <以太币转账,异步方式>
 **/
@Data
public class EthTransferAsyncRequest extends EthTransferRequest implements Request<EthTransferResponse> {
    @Override
    public String getApiUrl() {
        return super.getBaseUrl() + "/wallet/eth_transfer_async";
    }

    @Override
    public ContentType getContentType() {
        return ContentType.create(ContentType.APPLICATION_JSON.getMimeType(),"UTF-8");
    }
}
